﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="editionmanager.aspx.cs" Inherits="editionmanager" %>

<%@Register src="headerWithText.ascx" tagPrefix="wepj" tagName="headerWithText" %>
<%@Register src="footer.ascx" tagPrefix="wepj" tagName="footer" %>

<!DOCTYPE html>

<html>
    <head>
        <meta charset="utf-8">
        <title>版本管理 - We Easy Project</title>
        <link rel="stylesheet" href="css/header.css">
        <link rel="stylesheet" href="css/footer.css">
    </head>
    <body>
        <form id="form1" runat="server">
            <div>
                <asp:GridView ID="EditionsGridView" runat="server" BackColor="White" 
                              BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" 
                              CellSpacing="1" GridLines="None" OnRowDeleting="DeleteOneEdition" AutoGenerateColumns="False" ShowHeaderWhenEmpty="True">
                    <Columns>
                        <asp:BoundField DataField="name" HeaderText="文件名" />
                        <asp:BoundField DataField="size" HeaderText="文件大小" />
                        <asp:BoundField DataField="time" HeaderText="上传时间" />
                        <asp:CommandField HeaderText="删除" ShowDeleteButton="true" ButtonType="Button" />
                    </Columns>
                    <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                    <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                    <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                    <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                    <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                    <SortedAscendingHeaderStyle BackColor="#594B9C" />
                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                    <SortedDescendingHeaderStyle BackColor="#33276A" />
                </asp:GridView>
                <br>
                <asp:FileUpload ID="EditionFileUpload" runat="server" /><asp:Button ID="EditionUploadButton" runat="server" Text="上传" onclick="EditionUploadButton_Click"/>
                <br>
            </div>
        </form>
    </body>
</html>